
.container {
    padding: 0.625rem;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    min-height: 100vh;
    box-sizing: border-box;
    max-width: 37.5rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.fortune-header {
    text-align: center;
    margin-bottom: 0.9375rem;
    padding: 0 0.46875rem;
}
.fortune-title {
    font-size: 1.125rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 0.46875rem;
    display: block;
}
.fortune-desc {
    font-size: 0.875rem;
    color: #666;
    display: block;
}

/* 塔罗牌样式 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
    gap: 0.625rem;
    padding: 0.46875rem;
    margin: 0 auto;
    max-width: 30rem;
}
.card {
    width: 100%;
    height: 7.5rem;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.card.selected {
    transform: translateY(-0.625rem);
    box-shadow: 0 0.3125rem 0.625rem rgba(0, 0, 0, 0.15);
}
.card-image {
    width: 100%;
    height: 100%;
    border-radius: 0.3125rem;
    transition: all 0.3s ease;
}
.result-section {
    padding: 0.625rem;
}
.result-card {
    background: #fff;
    border-radius: 0.3125rem;
    padding: 0.625rem;
    margin-bottom: 0.625rem;
    text-align: center;
}
.result-card-image {
    width: 5rem;
    height: 7.5rem;
    border-radius: 0.3125rem;
    margin-bottom: 0.3125rem;
}
.card-name {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 0.3125rem;
    display: block;
}
.card-meaning {
    font-size: 0.875rem;
    color: #666;
    display: block;
}
.zodiac-section,
.name-section,
.dream-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.3125rem;
    padding: 0.625rem;
    margin: 0 auto 0.625rem;
    width: 100%;
    max-width: 30rem;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.15);
}
.picker {
    padding: 0.625rem;
    background: #fff;
    border-radius: 0.3125rem;
    margin-bottom: 0.625rem;
}
.fortune-result,
.name-result {
    margin-top: 0.625rem;
}
.fortune-item,
.result-item {
    background: #fff;
    border-radius: 0.3125rem;
    padding: 0.625rem;
    margin-bottom: 0.3125rem;
}
.item-title,
.item-label {
    font-size: 0.875rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 0.3125rem;
    display: block;
}
.item-content,
.item-value {
    font-size: 0.8125rem;
    color: #666;
    display: block;
}
.name-input,
.dream-input {
    width: 100%;
    background: #fff;
    border-radius: 0.3125rem;
    padding: 0.625rem;
    margin-bottom: 0.625rem;
    box-sizing: border-box;
}
.dream-input {
    height: 6.25rem;
}
.dream-interpretation {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}
.start-btn,
.reset-btn {
    width: 90%;
    max-width: 18.75rem;
    height: 2.75rem;
    line-height: 2.75rem;
    border-radius: 1.375rem;
    margin: 0.9375rem auto;
    background: #007AFF;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 122, 255, 0.2);
    transition: all 0.3s ease;
}
.start-btn:active,
.reset-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}
@media screen and (min-width: 768px) {
.container {
        padding: 1.25rem;
}
.cards-container {
        grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
}
.card {
        height: 9.375rem;
}
.fortune-header {
        margin-bottom: 1.25rem;
}
.fortune-title {
        font-size: 1.375rem;
}
.fortune-desc {
        font-size: 1rem;
}
}
.reset-btn {
    background: #FF6B6B;
}
